package com.edu.spider.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.edu.spider.DTO.FindLocalTrainInfoDTO;
import com.edu.spider.enity.TrainInfo;
import com.edu.spider.mapper.TrainInfoMapper;
import com.edu.spider.service.LocalTrainService;

/** 
 * @author : ljl
 * @date 创建时间：2018年9月21日 下午2:05:04 
 * @version 1.0 
 * @parameter  
 * @since  
 * @return  
 */
@Service
public class LocalTrainServiceImpl implements LocalTrainService {
	
	@Autowired
	private TrainInfoMapper trainInfoMapper;

	public List<TrainInfo> findTrainInfoByConditional(
			FindLocalTrainInfoDTO findLocalTrainInfoDTO) {
		return trainInfoMapper.findTrainInfoByConditional(findLocalTrainInfoDTO);
	}

}
